const mongoose = require("mongoose");

const orderSchema = new mongoose.Schema({
    uid:[{ type: mongoose.Schema.Types.ObjectId, ref: "bill" }],
    sid:[{ type: mongoose.Schema.Types.ObjectId, ref: "supplier" }],
    code: String,
    createTime: String,
    remark: String,
});

const order = mongoose.model("order", orderSchema);

module.exports = {

    order

};
